//package com.iwhalecloud.bss.kite.cucc.service.custview.userinfo.supplier;
//
//import com.iwhalecloud.bss.kite.common.util.KiteMapUtils;
//import com.iwhalecloud.bss.kite.common.util.KiteStringUtils;
//import com.iwhalecloud.bss.kite.cucc.client.dto.order.ProdInstQryDTO;
//import com.iwhalecloud.bss.kite.cucc.common.constant.LocalKeyConsts;
//import com.iwhalecloud.bss.kite.cucc.dataservice.cache.IndustryCache;
//import com.iwhalecloud.bss.kite.cucc.service.custview.userinfo.UserAttrSupplier;
//import com.iwhalecloud.bss.kite.cucc.service.custview.userinfo.UserInfoContext;
//import com.iwhalecloud.bss.kite.cucc.service.custview.userinfo.UserInfoHelper;
//import org.springframework.stereotype.Service;
//
//import java.util.Objects;
//import java.util.Optional;
//
///**
// * 18 建档员工 IN_STAFF_ID
// */
//@Service
//@UserAttrSupplier(attrField = "IN_STAFF_ID")
//public class InStaffIdSupplier extends AbstractUserAttrSupplier {
//    @Override
//    public String getValue() {
//        String inStaffId = KiteMapUtils.getString(userInfoContext.getUserInfo(), "IN_STAFF_ID");
//        return inStaffId;
//    }
//
//    @Override
//    public String getValueDesc() {
//        String staffName = getValue();
//        ProdInstQryDTO prodInstQryDTO = userInfoContext.getProdInstQryDTO(userInfoContext.getCustId(), userInfoContext.getSerialNumberVal(),
//            userInfoContext.getProvinceCode(), userInfoContext.getEparchyCode());
//        if (Objects.nonNull(prodInstQryDTO)) {
//            staffName = prodInstQryDTO.getIn_staff_name();
//        }
//        return staffName;
//    }
//}
